#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<assert.h>
#include<string.h>
#include<time.h>

typedef struct Heap
{
	int* a;
	int size;
	int capacity;
}HP;

void Swap();
void AdjustDown(int*a,int n,int parent);
void CreateNDate();
void topk();
